package PhamVanHien_LTHDT01;

public class Models {
public boolean Kiemtrasutontaicuataikhoan(UserEntity objUser){
	//c1. su dung if else
	if(objUser.getUserName().equals("abc") && objUser.getPassword().equals("123")){
		return true;
	}
	return false;
	
	//c2. su dung toan tu 3 ngoi
	//return objUser.getUserName().equals("abc") && objUser.getPassword().equals("123") ? true : false;
}
public boolean KTTTkichhoatTK(UserEntity objUser){
	return true;
}
public boolean KTsoduTK(UserEntity objUser){
	return true;
}
public boolean KTLockorUnlock(UserEntity objUser){
	return true;
}
}
